﻿namespace Himp.TaskScheduling
{
    /// <summary>
    /// 开元存样柜信息
    /// </summary>
    public class BoltInfoView
    {
        /// <summary>
        /// 位置ID
        /// </summary>
        public int Bolt_ID { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        public string MachineCode { get; set; }

        /// <summary>
        /// 行号
        /// </summary>
        public int RowNo { get; set; }

        /// <summary>
        /// 列号
        /// </summary>
        public int ColumnNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int PositionNo { get; set; }

        /// <summary>
        /// 角度，1左，2右
        /// </summary>
        public int RotateNo { get; set; }

        /// <summary>
        /// 是否有瓶
        /// </summary>
        public int Bolt_State { get; set; }

        /// <summary>
        /// 瓶码
        /// </summary>
        public string Sample_ID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Card_ID { get; set; }

        /// <summary>
        /// 是否大瓶位
        /// </summary>
        public bool? BIG { get; set; }

        /// <summary>
        /// 是否中瓶位
        /// </summary>
        public bool? MIDDLE { get; set; }

        /// <summary>
        /// 是否小瓶位
        /// </summary>
        public bool? SMALL { get; set; }

        /// <summary>
        /// 更新时间，可作为同步依据
        /// </summary>
        public DateTime? Date { get; set; }

        /// <summary>
        /// 行走伺服位置
        /// </summary>
        public int? X { get; set; }

        /// <summary>
        /// 升价伺服位置
        /// </summary>
        public int? Y { get; set; }

        /// <summary>
        /// 煤样类型
        /// </summary>
        public string CoalType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string CoalZone { get; set; }

        /// <summary>
        /// 首次存入时间
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 有效期
        /// </summary>
        public int? StayTime { get; set; }

        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime? DeadTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool? Closed { get; set; }

        /// <summary>
        /// 是否过期
        /// </summary>
        public int IS_EXPIRE { get; set; }
    }
}
